﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SdlDotNet.Graphics;
using Point = System.Drawing.Point;
using Color = System.Drawing.Color;

namespace MapEditor
{
    public class Tile
    {
        public int ID;
        public Surface Image;
        //public List<Atom> Content;
        public string Name;

        public void Draw(int ox, int oy, Surface target, byte Alpha)
        {
            Image.Alpha = Alpha;
            target.Blit(Image.Convert(target,true,true), new Point(ox,oy));

            //foreach (Atom a in Content)
            //{
            //    a.Draw(ox,oy);
            //}
        }

        public Tile Copy()
        {
            Tile rTile = new Tile();

            return rTile;
        }
    }
}
